package com.ojoin.trade.supplyloan_core.web.service;

import com.ojoin.trade.common.web.service.BaseService;
import com.ojoin.trade.supplyloan_core.web.domain.TbCatchdataStrategy;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlLoanStatTotal;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlPlatformUser;
import com.ojoin.trade.supplyloan_core.web.domain.TbSlStatetaskRunresultvo;

public interface TbCatchdataStrategyService extends BaseService<TbCatchdataStrategy> {
    /**
     * 新增策略
     * 
     */
	
	
	void insetr(TbCatchdataStrategy tbCatchdataStrategy);
	
	TbCatchdataStrategy queryByPlatformUserId(int platformUserId);
	
	void stat(TbSlPlatformUser user,TbCatchdataStrategy ca);
	
	void stat(TbSlPlatformUser user);
	
	
	void stat(TbSlStatetaskRunresultvo statetaskRunresul);
	
	/*
	 * 
	 * 统计所有抓取成功平台
	 */
	void stat();
	
	
	void statSUNING(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	

	void statAMAZON(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	void statYHD(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	
	void statTHIRD_SUNING(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	
	void statSUPPLIER_SFBEST(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	void statSUPPLIER_JD(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	void statTHIRDSELLER_JD(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	void statSUPPLIER_TMALL(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
	void statSUPPLIER_WOMAI(TbSlPlatformUser user,TbCatchdataStrategy ca,TbSlLoanStatTotal total);
	
}
